Function Reference

_ArrayToClip

Sends the contents of an array to the clipboard.

#include <Array.au3>
_ArrayToClip ( $avArray, $i_Base = 0)

 

Parameters

$avArray The array to be sent to the clipboard.
$i_Base Optional: Start Array index for sort, normally set to 0 or 1.

 

Return Value

Success: Returns 1.
Failure: Returns 0.
@Error: 0 = No error.
1 = The clipboard was cleared.

 

Remarks

None.

 

Related

_ArrayDisplay, _ArrayToString, StringSplit

 

Example


#include <Array.au3>
$asArray = StringSplit("a,b,c,d,e,f,g,h,i",",")
$iRetCode = _ArrayToClip( $asArray, 1 )
MsgBox( 4096, "_ArrayToClip() Test", ClipGet() )
Exit